package com.aidex.biz.domain;

import com.aidex.common.annotation.Excel;
import com.aidex.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 小程序用户地址对象 biz_user_address
 *
 * @author sean
 * @email 2074844820@qq.com
 * @date 2022-09-22
 */
@Data
public class UserAddress extends BaseEntity<UserAddress> {
    private static final long serialVersionUID = 1L;


    /**
     * 电话
     */
    @Excel(name = "电话")
    private String phone;

    /**
     * 经纬度地址
     */
    @Excel(name = "经纬度地址")
    private String address;

    /**
     * 详细地址
     */
    private String detailsAddress;

    /**
     * 收件人
     */
    private String name;

    /**
     * 区域
     */
    private String area;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 状态（默认）
     */
    private String status;

    private String userInfoId;

    private String lat;
    private String lng;


    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddress() {
        return address;
    }

    public void setDetailsAddress(String detailsAddress) {
        this.detailsAddress = detailsAddress;
    }

    public String getDetailsAddress() {
        return detailsAddress;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getArea() {
        return area;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getSort() {
        return sort;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("userName", getUserName()).append("userId", getUserId()).append("deptId", getDeptId()).append("deptName", getDeptName()).append("companyId", getCompanyId()).append("phone", getPhone()).append("address", getAddress()).append("detailsAddress", getDetailsAddress()).append("name", getName()).append("area", getArea()).append("sort", getSort()).append("status", getStatus()).append("remark", getRemark()).append("id", getId()).append("createBy", getCreateBy()).append("createDept", getCreateDept()).append("createTime", getCreateTime()).append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("updateIp", getUpdateIp()).append("version", getVersion()).append("delFlag", getDelFlag()).toString();
    }
}
